package com.knowledge.knowledge_notes.service;

import com.knowledge.knowledge_notes.pojo.AdminPermission;
import com.knowledge.knowledge_notes.pojo.AdminRolePermission;

import java.util.List;

public interface AdminRolePermissionService {

    List<AdminRolePermission> findAllByRid(int rid);

    void savePermChanges(int id, List<AdminPermission> perms);
}
